package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class TravelApproval implements Serializable {
    private Integer id;

    /**
	* 出差表id
	*/
    private TravelApplication travelApplication;

    /**
	* 所属节点
	*/
    private ProcessNode processNode;

    /**
	* 审批人id
	*/
    private Staff staff;

    /**
	* 审批状态（0不通过  1审批中 2通过）
	*/
    private Integer state;

    /**
	* 审批内容
	*/
    private String approvalInfo;

    /**
	* 审批时间
	*/
    private Timestamp approvalTime;

    /**
	* 备注
	*/
    private String remarks;

    private String states;

    public String getStates() {
        return states;
    }

    public void setStates(String states) {
        this.states = states;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getApprovalInfo() {
        return approvalInfo;
    }

    public void setApprovalInfo(String approvalInfo) {
        this.approvalInfo = approvalInfo;
    }


    public Timestamp getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Timestamp approvalTime) {
        this.approvalTime = approvalTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public TravelApplication getTravelApplication() {
        return travelApplication;
    }

    public void setTravelApplication(TravelApplication travelApplication) {
        this.travelApplication = travelApplication;
    }

    public ProcessNode getProcessNode() {
        return processNode;
    }

    public void setProcessNode(ProcessNode processNode) {
        this.processNode = processNode;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);



        sb.append(", state=").append(state);
        sb.append(", approvalInfo=").append(approvalInfo);
        sb.append(", approvalTime=").append(approvalTime);
        sb.append(", remarks=").append(remarks);
        sb.append("]");
        return sb.toString();
    }
}